.class public abstract Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;
.super Ljava/lang/Object;
.source "BaseNotificationModel.java"

# interfaces
.implements Landroid/os/Parcelable;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel$PopulatableNotificationInterface;
    }
.end annotation


# instance fields
.field protected isActive:Z

.field protected isRead:Z

.field protected mButtonLabel:Ljava/lang/String;

.field protected mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

.field protected mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

.field protected mGroupID:Ljava/lang/String;

.field protected mID:I

.field protected mImageURL:Ljava/lang/String;

.field protected mPriority:I

.field protected mType:I

.field protected mURL:Ljava/lang/String;

.field protected mVisibility:I

.field protected mWhen:J


# direct methods
.method public constructor <init>()V
    .locals 14

    .line 150
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    .line 152
    invoke-static {}, Llt/farmis/libraries/bitflags/BitFlagSet;->createNew()Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object v13

    const/4 v0, 0x0

    invoke-interface {v13, v0}, Llt/farmis/libraries/bitflags/BitFlags;->set(I)Llt/farmis/libraries/bitflags/BitFlags;

    const/4 v1, -0x1

    const/4 v2, -0x1

    const-string v3, "group_default"

    const/4 v6, 0x0

    const/4 v7, 0x1

    const/4 v8, 0x0

    const/4 v9, 0x0

    const/4 v10, 0x0

    const/4 v11, 0x0

    const/4 v12, 0x1

    move-object v0, p0

    .line 150
    invoke-direct/range {v0 .. v13}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;-><init>(IILjava/lang/String;JZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IILlt/farmis/libraries/bitflags/BitFlags;)V

    return-void
.end method

.method public constructor <init>(IILjava/lang/String;JZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IILlt/farmis/libraries/bitflags/BitFlags;)V
    .locals 0

    .line 212
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 215
    iput p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    .line 216
    iput p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    .line 217
    iput-object p3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    .line 219
    iput-wide p4, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mWhen:J

    .line 220
    iput-boolean p6, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isRead:Z

    .line 221
    iput-boolean p7, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isActive:Z

    .line 223
    iput-object p8, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mButtonLabel:Ljava/lang/String;

    .line 224
    iput-object p9, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mURL:Ljava/lang/String;

    .line 225
    iput-object p10, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mImageURL:Ljava/lang/String;

    .line 227
    iput p11, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    .line 228
    iput p12, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    .line 229
    iput-object p13, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    return-void
.end method

.method public constructor <init>(Landroid/os/Parcel;)V
    .locals 3

    .line 161
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 163
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    .line 164
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    .line 165
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    .line 167
    invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J

    move-result-wide v0

    iput-wide v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mWhen:J

    .line 168
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-ne v0, v2, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    iput-boolean v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isRead:Z

    .line 169
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    if-ne v0, v2, :cond_1

    const/4 v1, 0x1

    :cond_1
    iput-boolean v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isActive:Z

    .line 171
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mButtonLabel:Ljava/lang/String;

    .line 172
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mURL:Ljava/lang/String;

    .line 173
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mImageURL:Ljava/lang/String;

    .line 175
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    .line 176
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    .line 180
    invoke-virtual {p1}, Landroid/os/Parcel;->createByteArray()[B

    move-result-object p1

    invoke-static {p1}, Llt/farmis/libraries/bitflags/BitFlagSet;->createFrom([B)Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object p1

    iput-object p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    return-void
.end method


# virtual methods
.method public describeContents()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public getActualGroupID()Ljava/lang/String;
    .locals 1

    .line 412
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    return-object v0
.end method

.method public getActualID()I
    .locals 1

    .line 348
    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    return v0
.end method

.method public getAdjustedPriority()I
    .locals 2

    .line 588
    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    const/4 v1, -0x2

    if-lt v0, v1, :cond_0

    const/4 v1, 0x2

    if-gt v0, v1, :cond_0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public getButtonLabel()Ljava/lang/String;
    .locals 1

    .line 507
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mButtonLabel:Ljava/lang/String;

    return-object v0
.end method

.method public getCallback(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;
    .locals 1

    .line 293
    iget-object p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

    if-eqz p1, :cond_0

    return-object p1

    .line 294
    :cond_0
    new-instance p1, Ljava/lang/NullPointerException;

    const-string v0, "The notification callback Object is not initialized or set. A proper callback Object is required..."

    invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public abstract getConfiguration()Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;
.end method

.method public abstract getDatabaseWriter(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/data/providers/BaseNotificationDataProvider;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<N:",
            "Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;",
            ">(",
            "Landroid/content/Context;",
            ")",
            "Llt/farmis/libraries/notificationcontroller/data/providers/BaseNotificationDataProvider<",
            "TN;>;"
        }
    .end annotation
.end method

.method public getDeliveryFlags()Llt/farmis/libraries/bitflags/BitFlags;
    .locals 2

    .line 656
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    if-nez v0, :cond_0

    .line 657
    invoke-static {}, Llt/farmis/libraries/bitflags/BitFlagSet;->createNew()Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object v0

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    .line 658
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Llt/farmis/libraries/bitflags/BitFlags;->set(I)Llt/farmis/libraries/bitflags/BitFlags;

    .line 660
    :cond_0
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    return-object v0
.end method

.method public getImageURL()Ljava/lang/String;
    .locals 1

    .line 561
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mImageURL:Ljava/lang/String;

    return-object v0
.end method

.method public getPriority()I
    .locals 1

    .line 604
    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    return v0
.end method

.method public getType()I
    .locals 1

    .line 372
    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    return v0
.end method

.method public getURL()Ljava/lang/String;
    .locals 1

    .line 535
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mURL:Ljava/lang/String;

    return-object v0
.end method

.method public getUsableGroupID()Ljava/lang/String;
    .locals 1

    .line 398
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    goto :goto_0

    :cond_0
    const-string v0, "group_default"

    :goto_0
    return-object v0
.end method

.method public getUsableID()I
    .locals 1

    .line 327
    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    if-gtz v0, :cond_0

    .line 329
    invoke-static {}, Llt/farmis/libraries/notificationcontroller/utilities/NotificationUtilities;->generatePseudoID()I

    move-result v0

    :cond_0
    return v0
.end method

.method public getVisibility()I
    .locals 1

    .line 628
    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    return v0
.end method

.method public getWhen()J
    .locals 2

    .line 437
    iget-wide v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mWhen:J

    return-wide v0
.end method

.method public isEmpty()Z
    .locals 7

    .line 710
    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    const/4 v1, 0x1

    const/4 v2, -0x1

    if-le v0, v2, :cond_1

    iget-wide v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mWhen:J

    const-wide/16 v5, -0x1

    cmp-long v0, v3, v5

    if-lez v0, :cond_1

    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    if-eqz v0, :cond_1

    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    const/4 v3, -0x2

    if-lt v0, v3, :cond_1

    const/4 v3, 0x2

    if-gt v0, v3, :cond_1

    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    if-lt v0, v2, :cond_1

    if-le v0, v1, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :cond_1
    :goto_0
    return v1
.end method

.method public processRetainChanges(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;
    .locals 0

    .line 795
    invoke-static {p1}, Llt/farmis/libraries/notificationcontroller/NotificationController;->with(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/NotificationController;

    move-result-object p1

    invoke-virtual {p1, p0}, Llt/farmis/libraries/notificationcontroller/NotificationController;->processNotification(Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;)V

    return-object p0
.end method

.method public varargs setDeliveryFlags([I)V
    .locals 1

    .line 681
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    if-nez v0, :cond_0

    .line 682
    invoke-static {}, Llt/farmis/libraries/bitflags/BitFlagSet;->createNew()Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object v0

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    .line 684
    :cond_0
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    invoke-interface {v0, p1}, Llt/farmis/libraries/bitflags/BitFlags;->set([I)Llt/farmis/libraries/bitflags/BitFlags;

    return-void
.end method

.method public setID(I)V
    .locals 0

    .line 361
    iput p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 5

    .line 833
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "BaseNotificationModel { ID = "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ", type = "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ", group ID = \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    .line 836
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    const-string v2, "null"

    if-eqz v1, :cond_0

    move-object v1, v2

    goto :goto_0

    :cond_0
    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    :goto_0
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\', when = "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mWhen:J

    invoke-virtual {v0, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v1, ", is read? "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-boolean v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isRead:Z

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v1, ", is active? "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-boolean v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isActive:Z

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v1, ", button label = \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mButtonLabel:Ljava/lang/String;

    .line 840
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    move-object v1, v2

    goto :goto_1

    :cond_1
    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mButtonLabel:Ljava/lang/String;

    :goto_1
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\', URL address = \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mURL:Ljava/lang/String;

    .line 841
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    move-object v1, v2

    goto :goto_2

    :cond_2
    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mURL:Ljava/lang/String;

    :goto_2
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\', image URL address = \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mImageURL:Ljava/lang/String;

    .line 842
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_3

    goto :goto_3

    :cond_3
    iget-object v2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mImageURL:Ljava/lang/String;

    :goto_3
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\', priority = "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ", visibility = "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ", delivery flags = [ "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    .line 845
    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " ] }"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 2

    .line 811
    iget p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 812
    iget p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 813
    iget-object p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 815
    iget-wide v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mWhen:J

    invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V

    .line 816
    iget-boolean p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isRead:Z

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 817
    iget-boolean p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isActive:Z

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 819
    iget-object p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mButtonLabel:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 820
    iget-object p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mURL:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 821
    iget-object p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mImageURL:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 823
    iget p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 824
    iget p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 825
    iget-object p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    invoke-interface {p2}, Llt/farmis/libraries/bitflags/BitFlags;->toByteArray()[B

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeByteArray([B)V

    return-void
.end method
